package priv.happy.mealpickpro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import priv.happy.mealpickpro.domain.Food;
import priv.happy.mealpickpro.dto.FoodDTO;
import priv.happy.mealpickpro.dto.UserFoodCount;

import java.util.List;

/**
* @author HAPPY
* @description 针对表【food】的数据库操作Mapper
* @createDate 2023-10-11 13:24:59
* @Entity priv.happy.mealpick.domain.Food
*/
@Mapper
public interface FoodMapper extends BaseMapper<Food> {
    List<Food> pickFood(FoodDTO foodDTO);

    List<UserFoodCount> countUserFoods();
}




